package com.hs.srm.admin.modules.pricemanagement.dao;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.hs.srm.admin.modules.pricemanagement.entity.InquiryQuotationEntity;
import com.hs.srm.admin.modules.pricemanagement.vo.InquiryVO;


/**
 * @author yanfei
 * @date 2019年3月1日
 * 询价单抬头数据访问层
 */
public interface ParityDao extends BaseMapper<InquiryQuotationEntity> {
    //分页查询数据
    public List<InquiryQuotationEntity> selectDetailPage(RowBounds rowBounds,
                                                         @Param("ew") Wrapper<InquiryQuotationEntity> wrapper, @Param("params") Map<String, Object> params);

    //查询比价详情
    InquiryVO findbyId(@Param("quotationId") String quotationId);

    //报价单添加询价金额
    boolean updateEnquiryPrice(InquiryQuotationEntity quotationEntity);

    //修改税代码
    boolean updateTab(InquiryQuotationEntity quotationEntity);


}
